package repository

import (
	"mcp-demo/internal/model/vo/intention/resp"
)

// AiIntentionRepo 查询
type AiIntentionRepo struct {
}

func (i *AiIntentionRepo) QueryIntention(id string, category string) ([]resp.DemoResp, error) {
	// 示例代码 - 替换为实际的数据库查询逻辑
	//query := global.DB.Table("demo").Select("*")
	//var dempResp []resp.DemoResp
	//err := query.Find(&dempResp).Error
	//if err != nil {
	//	return nil, err
	//}
	var resps []resp.DemoResp
	resps = append(resps, resp.DemoResp{Name: "张三", Age: "12"})
	resps = append(resps, resp.DemoResp{Name: "李四", Age: "12"})
	return resps, nil
}
